<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add,edit,del,import')}
                        <a class="btn btn-success btn-more dropdown-toggle" data-toggle="dropdown">
                            <i class="fa fa-plus"></i> 生成入库单
                        </a>
                        <ul class="dropdown-menu text-left" role="menu">
                            <li><a class="btn btn-link btn-generate-from-request" href="javascript:;"><i class="fa fa-file-text"></i> 从采购申请生成</a></li>
                        </ul>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('scanwork/purchase_inbound/edit')}"
                           data-operate-del="{:$auth->check('scanwork/purchase_inbound/del')}"
                           width="100%">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>